/**
 * 
 */
package aspectjutil.eventmanager.testmodels;

import aspectjutil.adviseutil.Util;
import aspectjutil.eventmanager.EventInfo;
import aspectjutil.eventmanager.label.OnEvent;

public class ChildEventRecipient2 extends EventRecipient {
	
	@Override
	@OnEvent( {SampleEventClass.OverridenCalculationEvent.class})
	void onCalculationCompletion( EventInfo eventInfo) {
		EventTraceSupporter.getEventTraceList().add( 
				Util.getCallingMethodInfo( Thread.currentThread().getStackTrace(), 1, 1).get( 0)
				);
		EventTraceSupporter.saveEventInfo( eventInfo);
	}
}